package alone.redis.queue.redisqueue.mapper;

import alone.redis.queue.redisqueue.entity.UserInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户注册mapper
 */
@Mapper
public interface SignInMapper {

    /**
     * 插入用户
     * @param userInfo userInfo
     */
    @Insert("insert redis_queue_user (`name`,`sex`) values (#{name},#{sex})")
    void userSignIn(UserInfo userInfo);


}
